indentedtext
Command/ startitemgroup
Command/ startlabeltext
Command/ startlinenote
Command/ startlines
Command/ startmakeup
Command/ startmathalignment
Command/ startmathcases
Command/ startmathmatrix
Command/ startmixedcolumns
Command/ startnarrower
Command/ startnote
Command/ startpagecolumns
Command/ sta
matTestQuestions()}}
\define[4]\tareaAbc{\item #1
\startitemgroup[itemize][a]
\item #2
\item #3
\item #4
\stopitemgroup}
\starttext
Here are some questions:
\startTestQuestions
In den Büchereien gibt es auch …
… Kuchen.
… Theater.
… Workshops.
In den Büchereien gibt es auch …
… Kuchen.
… Th
of writing an ñ at the end of line so that the macro
detects each argument; but for each question I have to manually add it, which
is tedious; therefore I look for a solution to detect lines automatically
%the definition
\def\tareaAbc #1ñ#2ñ#3ñ#4ñ{\item #1
\startitemgroup[lista1a]
\item
detects each argument; but for each question I have to manually add it, which
is tedious; therefore I look for a solution to detect lines automatically
%the definition
\def\tareaAbc #1ñ#2ñ#3ñ#4ñ{\item #1
\startitemgroup[lista1a]
\item #2
\item #3
\item #4
\stopitemgroup
/instance.
\defineitemgroup [romanitemize]
\setupitemgroup [romanitemize] [R,inmargin]
\starttext
\startromanitemize
\dorecurse{5}{\item item}
\stopromanitemize
\startitemgroup [romanitemize]
\dorecurse{5}{\item item}
\stopitemgroup
\stoptext
Wolfgang
garden.net/
>
> On 02/01/2017 04:43 PM, Lawrence Bell wrote:
> > I'm having some difficulties with nested itemgroups. I've produced a
> > minimal working example as follows.
> >
> > \defineitemgroup
> > [test] [symbol=n]
> >
> > \starttext
> &
inimal working example as follows.
>
> \defineitemgroup
> [test] [symbol=n]
>
> \starttext
>
> % \startitemgroup
> % \startitem
> % \startitemgroup[test]
> % \startitem
> % ...
> % \stopitem
> % \stopitemgroup
> % \
I'm having some difficulties with nested itemgroups. I've produced a
minimal working example as follows.
\defineitemgroup
[test] [symbol=n]
\starttext
% \startitemgroup
% \startitem
% \startitemgroup[test]
% \startitem
% ...
% \stopitem
% \stopitemgroup
]}]
\starttext
\input knuth
\startitemize
\dorecurse{5}{\item this is my item\par
second paragraph\par
third paragraph
}
\stopitemize
\stoptext
@Hans: Could you add a setups key to \startitemgroup? One could abuse the
before key
up where you have numbered entries:
\defineitemgroup[bibliography]
\setupitemgroup[bibliography][each][n][left={[},right={]},stopper=]
\definereferenceformat [bibnumber] [type=number,left={[},right={]}]
\definereferenceformat [bibpage] [type=page]
\starttext
\startitemgroup[bibliography]
\sta
between a itemgroup where you have numbered entries:
>
> \defineitemgroup[bibliography]
>
> \setupitemgroup[bibliography][each][n][left={[},right={]},stopper=]
>
> \definereferenceformat [bibnumber] [type=number,left={[},right={]}]
> \definereferenceformat [bibpage] [type=pa
Hi,
\setuphead[subsection][after={\blank[small]},]
\starttext
\startcolumns
\startmixedcolumns[balance=yes,]
\startsubsection[title=title,]
\startitemgroup[][packed][before=\empty]
\dorecurse{10}{\startitem item \#\recurselevel{}.\stopitem}
\stopitemgroup
Am 01.12.2010 um 10:43 schrieb Steffen Wolfrum:
\startNumberBracket[1]
Somehow I thought the first pair of brackets indicate the level of
itemization ...
No, \startitemgroup has two argument which can contains
lists with keywords or key-val-arguments and the „1“ is
the symbol
isn't functioning at
all because at the start of each
item command (\dolistitem) a \noindent command prevents it from working. One
way to fix is to replace \noitem
with \checkindentation\ifindentation\indent\else\noindent\fi and
\indentationfalse to startitemgroup.
When these changes are done one
\getitemparameter\currentitemlevel\c!command} % \defaultitemcommand
\def\startitemgroup
{\doquadrupleempty\dostartitemgroup}
\def\dostartitemgroup[#1][#2][#3][]%
{\bgroup
\ifnum\currentitemlevel=\zerocount
\def\currentitemgroup{#1}% no nested mixing of itemgroups
\fi
\ifthirdargument
\startinteractionmenu[name] \stopinteractionmenu
\startitemgroup[name][options][settings] \stopitemigroup
# \startitemize \stopitemize
# \startitemize \stopitemize
# \startJScode \stopJScode
# \startJSpreamble \stopJSpreamble
# \startJSscripts \stopJSscripts
\startlegend[two]\leg text \\ text \\ text \\\leg \stoplegend
]
{\initializefox
\expanded{\setupitemgroup[\foxlabel][\foxarguments]}}
\defineXMLenvironment
[fx:itemize] [fox] [label=default]
{\initializefox
\expanded{\startitemgroup[\foxlabel]}\ignorespaces}
{\stopitemgroup}
\defineXMLenvironment
[fx:item] [fox] [type=normal,symbol=]
{\initializefox
could be key-value pairs
right
What about the set in the middle?
Same as the first one in startitemize.
It says .2. : look at number two which is the standard, n*broad,
n*serried ...
Look at the first link I have in my signature and look for
\setupitemgroup and \startitemgroup. (See also
18 matches
Mail list logo